package com.thomasmoerman.dci.tmc

import org.squeryl.Session
import org.squeryl.adapters._

trait SessionFactory {
  this: DataSourceComponent =>
  
  def session = Session.create(dataSource.getConnection, new MySQLAdapter)
  
}